sum = 0
i = 1
while i <= 100:
    sum += i
    i += 1

print("%d"%sum)
print(f"{sum}")